package com.wanxi.education.model.vo.course;

import com.wanxi.education.model.vo.catalogue.CatalogueAddVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: WangRui
 * @Description:
 * @Date: Created in 2021/9/24 0024
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "课程添加参数对象")
public class CourseAddVo {

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 介绍
     */
    @ApiModelProperty(value = "介绍")
    private String introduce;

    /**
     * 主图uri
     */
    @ApiModelProperty(value = "主图uri")
    private String picture;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private BigDecimal price;


    /**
     * 老师姓名
     */
    @ApiModelProperty(value = "老师姓名")
    private String teacher;

    /**
     * 证书分类id
     */
    @ApiModelProperty(value = "证书分类id")
    private Long ccieId;

    /**
     *权重，默认为0，权重不为0的时候首页显示在最前
     */
    @ApiModelProperty(value = "权重")
    private Long weight;

    /**
     * 目录
     */
    @ApiModelProperty(value = "目录")
    private List<CatalogueAddVo> catalogueAddVos;



}
